﻿using System.Collections.ObjectModel;

namespace HeritageAcademy.Models.DataModels
{
    /// <remarks/>
    [System.SerializableAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute(@"code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
    [System.Xml.Serialization.XmlRootAttribute(Namespace = "", IsNullable = false)]
    public partial class CoursesData
    {
        private ObservableCollection<CourseData> itemsField;

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("CourseData", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
        public ObservableCollection<CourseData> CourseData
        {
            get { return this.itemsField; }
            set { this.itemsField = value; }
        }
    }

    /// <remarks/>
    [System.SerializableAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute(@"code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
    public partial class CourseData
    {
        private ObservableCollection<Student> studentField;
        private string idField;
        private string levelField;

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("Student", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
        public ObservableCollection<Student> Students
        {
            get { return this.studentField; }
            set { this.studentField = value; }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string Id
        {
            get { return this.idField; }
            set { this.idField = value; }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string Level
        {
            get { return this.levelField; }
            set { this.levelField = value; }
        }
    }

    /// <remarks/>
    [System.SerializableAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute(@"code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
    public partial class Student
    {
        private string progressField;
        private string idField;

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
        public string Progress
        {
            get { return this.progressField; }
            set { this.progressField = value; }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string Id
        {
            get { return this.idField; }
            set { this.idField = value; }
        }
    }
}